<?php
/**
 * OaReimbursementStandard数据模型
 */
class OaReimbursementStandardTable {
	// 数据表模型配置
	public $config = [
			'name' => 'oa_reimbursement_standard',
			'title' => '报销标准',
			'search_key' => '',
			'add_button' => 1,
			'del_button' => 1,
			'search_button' => 1,
			'check_all' => 1,
			'list_row' => '',
			'addon' => 'OaSystem'
	];
	
	// 列表定义
	public $list_grid = [ ];
	
	// 字段定义
	public $fields = [
			'province' => [
					'title' => '省（直辖市）',
					'type' => 'string',
					'field' => 'varchar(100) NOT NULL',
					'is_show' => 1,
					'is_must' => 1,
					'placeholder' => '请输入内容'
			],
			'city' => [
					'title' => '市区县',
					'type' => 'string',
					'field' => 'varchar(100) NOT NULL',
					'is_show' => 1,
					'is_must' => 1,
					'placeholder' => '请输入内容'
			],
			'normal' => [
					'title' => '淡季标准',
					'type' => 'string',
					'field' => 'varchar(255) NOT NULL',
					'remark' => '[部级标准，司局级标准，其他人员标准]',
					'is_show' => 1,
					'is_must' => 1,
					'placeholder' => '请输入内容'
			],
			'high' => [
					'title' => '旺季标准',
					'type' => 'string',
					'field' => 'varchar(255) NULL',
					'remark' => '[部级标准，司局级标准，其他人员标准]',
					'is_show' => 1,
					'placeholder' => '请输入内容'
			],
			'high_time' => [
					'title' => '旺季时间范围',
					'type' => 'string',
					'field' => 'varchar(255) NULL',
					'remark' => '月.日;月.日',
					'is_show' => 1,
					'placeholder' => '请输入内容'
			],
			'meals' => [
					'title' => '餐饮补助费',
					'type' => 'string',
					'field' => 'varchar(50) NOT NULL',
					'is_show' => 1,
					'is_must' => 1,
					'placeholder' => '请输入内容'
			],
			'traffic' => [
					'title' => '交通补助',
					'type' => 'string',
					'field' => 'varchar(50) NULL',
					'remark' => '交通补助',
					'is_show' => 1,
					'is_must' => 0
			]
	];
}	